home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7737 < prev    next >
Encoding:
Text File  |  1996-08-05  |  823 b   |  37 lines

  1. Path: news.fsu.edu!usenet
  2. From: meil@firnvx.firn.edu (Lynn Mei)
  3. Newsgroups: vmsnet.misc,comp.lang.c
  4. Subject: How to run a C program taking command line arguments on VMS
  5. Date: 28 Feb 1996 15:59:41 GMT
  6. Organization: FIRN
  7. Message-ID: <4h1u5d$s5c@news.fsu.edu>
  8. NNTP-Posting-Host: lynn.firn.edu
  9. Mime-Version: 1.0
  10. Content-Type: Text/Plain; charset=ISO-8859-1
  11. X-Newsreader: WinVN 0.99.5
  12.  
  13. Could someone tell me how to run a C program which takes command line 
  14. arguments on VAX/VMS? I have checked the FAQ about openVMS and tried the 
  15. instructions. But I couldn't get it work. I don't have an openVMS mannual.  
  16. Please help me!
  17.  
  18. My program is like:
  19.  
  20. /* myprog.c */
  21.   
  22.   main(argn, **argv)
  23.   {
  24.   
  25.      ...
  26.  
  27.   }
  28.  
  29. If run on Unix or DOS, I could type something like
  30.  
  31.   myprog -lu abcd
  32.  
  33. How to run it on VMS?
  34.  
  35. I'd appreciate your help!
  36.  
  37.